module('luaconfig',package.seeall)

objects = {}

function tableForKeyPath (f)
	local v = objects	-- start with the table of objects
print(v)
	for w in string.gfind(f, "[%w_]+") do
		v = v[w]
	end
	return v
end

waxClass{'Config',HNConfig}

function dictForObjectId( self, key )
print(key)
	return luaconfig.tableForKeyPath(key)
end